{php include wl_template('common/header');}
<ul class="nav nav-tabs">
	<li class="active"><a href="">提现记录</a></li>
</ul>
<div class="app-content">
    <div class="app-table-list">
        <div class="table-responsive">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th class="text-left" width="15%">申请信息</th>
                    <th class="text-left" width="15%">申请金额</th>
                    <th class="text-left" width="15%">系统提成</th>
                    <th class="text-left" width="10%">提现</th>
                    <th class="text-left" width="15%">申请时间</th>
                    <th class="text-left" width="15%">操作时间</th>
                    <th class="text-left" width="15%">状态</th>
                </tr>
                </thead>
                <tbody>
                    {loop $list  $merchant}
                        <tr>
                            <td>代理：{$merchant['aName']}</td>
                            <td>{$merchant['sapplymoney']}元</td>
                            <td>{$merchant['spercent']}%</td>
                            <td>
                                {if $merchant['type']==2}<label class="label label-default label-danger">代理申请提现</label>{/if}
                                <br><br>{if $merchant['settletype']==1}<label class="label label-default label-success">手动处理{elseif $merchant['settletype']==2}<label class="label label-default label-info">微信零钱{else}<label class="label label-default">未结算{/if}</label>
                            </td>
                            <td>{php echo date('Y-m-d',$merchant['applytime'])}<br>{php echo date('H:i:s',$merchant['applytime'])}</td>
                            <td>{php echo date('Y-m-d',$merchant['updatetime'])}<br>{php echo date('H:i:s',$merchant['updatetime'])}</td>
                            <td>{if $merchant['status']==1}
                                <label class="label label-default label-default">代理审核中</label>
                                {elseif $merchant['status']==2}
                                <label class="label label-default label-info">系统审核中</label>
                                {elseif $merchant['status']==3}
                                <label class="label label-default label-warning">系统审核通过，待结算</label>
                                {elseif $merchant['status']==4}
                                <label class="label label-default label-danger">已结算给代理</label>
                                {elseif $merchant['status']==5}
                                <label class="label label-default label-success">已结算到商家</label>
                                {elseif $merchant['status']==-1}
                                <label class="label label-default label-danger">被系统驳回</label>
                                {/if}
                        </tr>
                    {/loop}
                </tbody>
            </table>
            {if empty($list)}
                <div class="panel-body" style="text-align: center;padding:30px;">
                    暂时没有任何数据!
                </div>
            {/if}
        </div>
        <div class="app-table-foot clearfix">
            <div class="pull-left">

            </div>
            <div class="pull-right">
                {$pager}
            </div>
        </div>
    </div>
</div>
{php include wl_template('common/footer');}